Search method
Call this method to execute a search against the current index.
Member of
Tab
Type
Sub(Query, QueryType)
Parameters
- Query: String - Text that contains the search terms. The format of the text depends on the type of the query, given in QueryType parameter.
- QueryType: [Optional] Integer - type of the query contained in Query parameter. Can be one of the following:
- 0: Command - Indicates an ISYS command style query. This is the default value.
- 1: PlainEnglish - Indicates a plain English query.
- 2: WebStyle - Indicates a web-style query.
The example below will prompt the user to select an index and then execute a search that will return all the documents, found in the index.
Example
IndexPath = BrowseForFolder
If IndexPath <> "" Then
App.ActiveTab.OpenIndex IndexPath
App.ActiveTab.Search "*"
End If
See Also
Macro Object Model
Tab